package com.leinao.constant;

/**
 * @Description 项目操作结果状态
 * @Author guoliangbo
 * @Date 2019/5/20 20:44
 * @Version 1.0
 */
public enum ProjectResultEnum {

    /**
     * 0 为 获取成功
     */
    SUCCESS(0,"success！"),
    /**
     * -1 为失败
     */
    FAIL(-1,"get Contant fail！"),
    /**
     * -20 项目-任务不存在
     */
    JOB_NOT_EXIST(-20,"projectJob is not exist！"),
    /**
     * -40 非用户项目-无权限
     */
    USER_HAS_NO_POWER(-40,"user has no power！"),
    ;

    private Integer seq;

    private String desc;

    ProjectResultEnum(Integer seq, String desc) {
        this.seq = seq;
        this.desc = desc;
    }

    public int getSeq() {
        return seq;
    }

    public String getDesc() {
        return desc;
    }
}
